package com.shengqi.xinnongren.work.ui.user.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by LuoYaWei on 2018/9/22.
 */
public class ProvinceCityBean implements Serializable {

    /**
     * areaId : 1
     * name : 安徽省
     * cityList : [{"areaId":2,"countList":[{"areaId":3,"name":"市辖区"},{"areaId":4,"name":"瑶海区"},{"areaId":5,"name":"庐阳区"},{"areaId":6,"name":"蜀山区"},{"areaId":7,"name":"包河区"},{"areaId":8,"name":"长丰县"},{"areaId":9,"name":"肥东县"},{"areaId":10,"name":"肥西县"}],"name":"合肥市"}]
     */

    private String areaId;
    private String name;
    private List<CityListBean> cityList;

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CityListBean> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityListBean> cityList) {
        this.cityList = cityList;
    }

    @Override
    public String toString() {
        return this.name;
    }

    public static class CityListBean {
        /**
         * areaId : 2
         * countList : [{"areaId":3,"name":"市辖区"},{"areaId":4,"name":"瑶海区"},{"areaId":5,"name":"庐阳区"},{"areaId":6,"name":"蜀山区"},{"areaId":7,"name":"包河区"},{"areaId":8,"name":"长丰县"},{"areaId":9,"name":"肥东县"},{"areaId":10,"name":"肥西县"}]
         * name : 合肥市
         */

        private String areaId;
        private String name;
        private List<CountListBean> countList;

        public String getAreaId() {
            return areaId;
        }

        public void setAreaId(String areaId) {
            this.areaId = areaId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CountListBean> getCountList() {
            return countList;
        }

        public void setCountList(List<CountListBean> countList) {
            this.countList = countList;
        }

        @Override
        public String toString() {
            return this.name;
        }

        public static class CountListBean {
            /**
             * areaId : 3
             * name : 市辖区
             */

            private String areaId;
            private String name;

            public String getAreaId() {
                return areaId;
            }

            public void setAreaId(String areaId) {
                this.areaId = areaId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            @Override
            public String toString() {
                return this.name;
            }
        }
    }
}
